package com.cn.wanxi.dao;

import com.cn.wanxi.model.NavModel;

import java.util.List;
import java.util.Map;

public interface INavDao {

    int addNav(NavModel navModel);

    int deleteNav(int id);

    int editNav(NavModel navModel);

    List<NavModel> getNavList();

    NavModel getNav(int id);

    List<NavModel> getNavs(Map<String,Object> map);

    int updateShow(NavModel nav);

    long getNavCount(Map<String,Object> map);

    List<NavModel> getNavListByRedis();

    void setNavListInRedis(List<NavModel> navList);
}
